package cn.lyjuan.archetypes.bms.web.bean.dto;

import cn.lyjuan.archetypes.bms.common.entity.MgAction;



import java.io.Serializable;

/**
 * 角色的操作权限
 */
public class PrivilegeActionBean extends MgAction implements Serializable
{
    /**
     * 角色是否有此操作权限
     */
    private boolean hasPrivilege;

    public boolean isHasPrivilege()
    {
        return hasPrivilege;
    }

    public void setHasPrivilege(boolean hasPrivilege)
    {
        this.hasPrivilege = hasPrivilege;
    }

    @Override
    public String toString()
    {
        return "PrivilegeActionBean{" +
                ", hasPrivilege=" + hasPrivilege +
                "}, " + super.toString();
    }
}
